<div class="container-fluid form-horizontal">

	<div class="col-xs-12 col-md-12 mt10">

		<div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label">顶图</label>
			<div class="col-sm-4 col-xs-12">
                <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                    <i class="fa fa-file-image-o"></i> 添加图片
                </button>                    
            </div>
        </div>
        <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
            <div class="col-sm-offset-2 col-sm-4">
                <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
            </div> 
        </div>   

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">颜色</label>
            <div class="col-sm-4 col-xs-12" >
                <input type="color" class="form-control" placeholder="" value="#ff0080" 
                ng-model="infoobj.bg_color" style="width : 150px"
                >
            </div>
        </div>  
        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">说明</label>
            <div class="col-sm-6 col-xs-12">
        		<div class="ueditor" ng-model="infoobj.book_info"></div>      
            </div>
            <div class="col-sm-4 mt10">
                <font face="Courier" class="text-danger">用于填写套票产品购买须知</font>
            </div>
        </div> 

        <div class="form-group">
            <div class="col-sm-2 col-xs-12 col-md-offset-2 text-center">
                <button type="button" class="btn btn-primary btn-lg btn-block" ng-click="save()">保存</button>
            </div>
        </div>

    </div>
</div>
    